package com.lhn.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @author lhn
 * @date 2024-08-19 20:07
 */
@Configuration
@ComponentScan("com.lhn")
@PropertySource("classpath:jdbc.properties")    //引入配置文件
//@Import(JDBCConfig.class)   //引入配置类
@Import({JDBCConfig.class, MyBatisConfig.class})
public class SpringConfig {
}
